<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Home extends CI_Controller {

    function Home() {
        parent::__construct();
        $this->load->helper('url');
        $this->load->helper('form');
    }

    public function index() {
        $data_view["titulo"] = "Home - Engelsoft Dynamic DNS";
        $data_view["sitenome"] = "Engelsoft DDNS";
        $data_view["siteslogan"] = "Engelsoft Dynamic DNS";

        $this->template_model->settitle('Home - Engelsoft Dynamic DNS');
        $this->template_model->setname('Engelsoft DDNS');
        $this->template_model->setslogan('Engelsoft Dynamic DNS');

        $this->template_model->setview('home/index');
        $this->template_model->setviewdata($data_view);

        $this->template_model->load();
    }

    public function about() {
        $data_view["titulo"] = "Home - Engelsoft Dynamic DNS";
        $data_view["sitenome"] = "Engelsoft DDNS";
        $data_view["siteslogan"] = "Engelsoft Dynamic DNS";

        $this->template_model->settitle('Home - Engelsoft Dynamic DNS');
        $this->template_model->setname('Engelsoft DDNS');
        $this->template_model->setslogan('Engelsoft Dynamic DNS');

        $this->template_model->setview('home/about');
        $this->template_model->setviewdata($data_view);

        $this->template_model->load();
    }

}
